<template>
    <div class="home">
        <List :listData="listData" />
    </div>
</template>

<script setup>
import List from '../components/List.vue';
import getList from '../api/getList';

const {listData} = getList();
console.log(listData)

</script>

<style scoped>
.home{
    margin-left: 10px;
    width: 1000px;
    margin: 0 auto;
    margin-top:30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
</style>